// 拆出来 是为了后期维护特定的路由规则方便
import Layout from '@/layout'
// 日志查询
export default {
  path: '/SRM',
  component: Layout,
  // redirect: '/SRM/Supplier',
  name: 'SRM',
  alwaysShow: false,
  meta: { title: 'SRM', icon: 'el-icon-copy-document', affix: false },
  children: [
    {
      path: 'Invite',
      name: 'Invite',
      redirect: '/Srm/Invite/List',
      component: () => import('@/views/SRM/Invite.vue'),
      meta: { title: '招标系统', icon: 'el-icon-link', affix: false },
      children: [
        {
          path: '',
          redirect: 'InviteList'
        },
        {
          path: 'List',
          name: 'InviteList',
          hidden: true,
          component: () => import('@/views/SRM/InviteList.vue'),
          meta: { title: '招标信息', icon: 'el-icon-link', affix: false }
        },
        {
          path: 'Detail',
          hidden: true,
          name: 'InviteDetail',
          component: () => import('@/views/SRM/InviteDetail.vue'),
          meta: { title: '招标详情', icon: 'el-icon-link', affix: false }
        }
      ]
    },

    {
      path: 'Supplier',
      name: 'Supplier',
      component: () => import('@/views/SRM/Supplier.vue'),
      meta: { title: '供应商名录', icon: 'el-icon-link', affix: false }
    }
  ]
}
